|
In programming, the rule of least power is a design principle that "suggests choosing the least powerful () language suitable for a given purpose".〔(【引用サイトリンク】 author = W3C )〕 Stated alternatively, given a choice among computer languages, classes of which range from descriptive (or ''declarative'') to procedural, the less procedural, more descriptive the language one chooses, the more one can do with the data stored in that language. This rule is an application of the principle of least privilege to protocol design. ==Rationale== Originally proposed as an axiom of good design, the term is an extension of the KISS principle applied to choosing among a range of languages starting with * the plainly descriptive ones (such as the content of most databases, or HTML) * logical languages of limited propositional logic (such as access control lists) * declarative languages on the verge of being Turing-complete * those that are in fact Turing-complete though one is led not to use them that way (XSLT, SQL) * those that are completely procedural (general-purpose programming languages). As explained by Tim Berners-Lee:
抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「Rule of least power」の詳細全文を読む スポンサード リンク
|